﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

namespace XhPaper
{
    public class XmlTableTxjMini : MyXmlDyHuan
    {
        public override void GetDataFromXml()
        {
            if (XmlRoot == null)
            {
                GetXmlRoot();
            }
            XmlNodeList nodeList2;
            #region 得到dywide
            nodeList2 = XmlRoot.SelectNodes("dy");
            double w, h;
            if (nodeList2.Count > 0)
            {
                double.TryParse(nodeList2.Item(0).Attributes["w"].Value, out w);
                Width = w;
                double.TryParse(nodeList2.Item(0).Attributes["h"].Value, out h);
                Heigh = h;
            }
            #endregion
        }
        public override List<MyLine> GetHangLines(MyAutoCadObjectBase container)
        {
            return base.GetHangLines(container);
        }
        public override List<MyLine> GetLieLines(MyAutoCadObjectBase container)
        {
            return base.GetLieLines(container);
        }
    }
}
